home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIP Haziran 2001.iso / prog / share / 04 / setup.exe / MM6.Cab / F1450_ShowHide.action.F6A680DD_F3FB_4CF3_BABB_0D0F06E630F5 < prev    next >
Text File  |  2000-08-17  |  4KB  |  91 lines

  1. <html>
  2.  
  3.     <head>
  4.         <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  5.         <title>ShowHide Action</title>
  6.         <meta name="generator" content="Adobe GoLive 4">
  7.     </head>
  8.  
  9.     <body bgcolor="white">
  10.         <center>
  11.             <font size="6">ShowHide Action</font>
  12.             <hr>
  13.         </center>
  14.         <csactionclass name="ShowHide" function="CSShowHide" nsversion="4" ieversion="4">
  15.         <csactionparam name="layer" type="GLActionLayerParam"></csactionparam>
  16.         <csactionparam name="mode" type="GLActionEnumParam">
  17.         <csactionenum name="Hide" value="0">
  18.         <csactionenum name="Show" value="1">
  19.         <csactionenum name="Toggle" value="2">
  20.         </csactionparam>
  21.         </csactionclass>
  22.         <p>IE Functions Script
  23.         <script language="JavaScript1.2" src="../../GlobalScripts/IE.scpt" cyberversion="N1.2"></script>
  24.         </p>
  25.         <p>StyleVis Functions Script
  26.         <script language="JavaScript1.2" src="../../GlobalScripts/StyleVis.scpt" cyberversion="N1.2"></script>
  27.         </p>
  28.         <p>ShowHide Action Main Script
  29.         <script language="JavaScript1.2" cyberversion="N1.2"><!--
  30. function CSShowHide(action) {
  31.     if (action[1] == '') return;
  32.     var type=action[2];
  33.     if(type==0) CSSetStyleVis(action[1],0);
  34.     else if(type==1) CSSetStyleVis(action[1],1);
  35.     else if(type==2) { 
  36.         if (CSGetStyleVis(action[1]) == 0) CSSetStyleVis(action[1],1);
  37.         else CSSetStyleVis(action[1],0);
  38.     }
  39. }
  40. // -->
  41.         </script>
  42.         </p>
  43.  
  44.         <table cool width="221" height="153" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
  45.             <tr height="1" cntrlrow>
  46.                 <td width="1" height="1"><spacer type="block" width="1" height="1"></td>
  47.                 <td width="4" height="1"><spacer type="block" width="4" height="1"></td>
  48.                 <td width="76" height="1"><spacer type="block" width="76" height="1"></td>
  49.                 <td width="140" height="1"><spacer type="block" width="140" height="1"></td>
  50.             </tr>
  51.             <tr height="6">
  52.                 <td width="1" height="6"><spacer type="block" width="1" height="6"></td>
  53.                 <td width="4" height="6"><spacer type="block" width="4" height="6"></td>
  54.                 <td width="76" height="6"><spacer type="block" width="76" height="6"></td>
  55.                 <td width="140" height="6"><spacer type="block" width="140" height="6"></td>
  56.             </tr>
  57.             <tr height="3">
  58.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  59.                 <td width="4" height="3"><spacer type="block" width="4" height="3"></td>
  60.                 <td width="76" height="3"><spacer type="block" width="76" height="3"></td>
  61.                 <td width="140" height="22" colspan="1" rowspan="2" valign="top" align="left" xpos="80">
  62.                     <csactioncntrl name="layer" x="80" y="6" width="136" height="18" alignx="scale" aligny="top">
  63.                 </td>
  64.             </tr>
  65.             <tr height="19">
  66.                 <td width="1" height="19"><spacer type="block" width="1" height="19"></td>
  67.                 <td width="4" height="19"><spacer type="block" width="4" height="19"></td>
  68.                 <td width="76" height="19" colspan="1" rowspan="1" valign="top" align="left" xpos="4">
  69.                     <csactioncntrl type="InfoText" value="Floating Box" x="4" y="9" width="70" height="17" alignx="left" aligny="top">
  70.                 </td>
  71.             </tr>
  72.             <tr height="3">
  73.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  74.                 <td width="4" height="3"><spacer type="block" width="4" height="3"></td>
  75.                 <td width="76" height="3"><spacer type="block" width="76" height="3"></td>
  76.                 <td width="140" height="124" colspan="1" rowspan="2" valign="top" align="left" xpos="80">
  77.                     <csactioncntrl name="mode" x="80" y="28" width="136" height="18" alignx="scale" aligny="top">
  78.                 </td>
  79.             </tr>
  80.             <tr height="121">
  81.                 <td width="1" height="121"><spacer type="block" width="1" height="121"></td>
  82.                 <td width="4" height="121"><spacer type="block" width="4" height="121"></td>
  83.                 <td width="76" height="121" colspan="1" rowspan="1" valign="top" align="left" xpos="4">
  84.                     <csactioncntrl type="InfoText" value="Mode" x="4" y="31" width="39" height="16" alignx="left" aligny="top">
  85.                 </td>
  86.             </tr>
  87.         </table>
  88.     </body>
  89.  
  90. </html>
  91.